<?php
function logAJAXError($responseString) {
	global $dbname, $db, $db_selected;
	
	$sql = "INSERT into cdc_sysErrorLog (
			ResponseString,
			DateError,
			Userid
			) values (
			'$responseString',
			'".date('Y-m-d G:i:s')."',
			'".$_SESSION['userid']."'
			)";
	$result = mysql_db_query($dbname,$sql);
}
?>